﻿using ErrorOr;
using Gym.Domain.SessionAggregate;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gym.Application.Gyms.Queries.ListSessions
{
    public record ListSessionsQuery(
        Guid SubscriptionId,
        Guid GymId,
        DateTime? StartDateTime = null,
        DateTime? EndDateTime = null,
        List<SessionCategory>? Categories = null) : IRequest<ErrorOr<List<Session>>>;
}
